﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using model;
using business;

namespace service
{
    public class BaivietService
    {
        BaivietBUS bvBUS = new BaivietBUS();

        public List<Baiviet> getAllBaiviet(long idLoaibai)
        {
            return bvBUS.getAllBaiviet();
        }

        public List<Baiviet> getBaivietTop1ByLoai()
        {
            return bvBUS.getBaivietTop1ByLoai();
        }

        public List<Baiviet> getBaivietTop3ByLoai(long id)
        {
            return bvBUS.getBaivietTop3ByLoai(id);
        }

        public List<Baiviet> getBaivietByLoai(long id)
        {
            return bvBUS.getListBaivietByLoai(id);
        }
    }
}
